package com.lh.springcloud.mapper;

import com.lh.springcloud.bean.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentMapper {

    //读操作
    public int create(Payment payment);

    //写操作
    public Payment getPaymentById(@Param("id") Long id);

}
